﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MAT
{
    public partial class frmRequestAssetMaintenance : Form
    {
        Controllers.ctrRequestAssetMaintenance _ctrRequestAssetMaintenance = new Controllers.ctrRequestAssetMaintenance();
        public frmRequestAssetMaintenance()
        {
            InitializeComponent();
            _ctrRequestAssetMaintenance.FrmRequestAssetMaintenance = this;
        }

        private void frmRequestAssetMaintenance_Load(object sender, EventArgs e)
        {
            _ctrRequestAssetMaintenance.frmRequestAssetMaintenance_Load();
        }

        private void btnRALReset_Click(object sender, EventArgs e)
        {
            _ctrRequestAssetMaintenance.btnRALReset_Click();
        }

        private void btnRALSend_Click(object sender, EventArgs e)
        {
            _ctrRequestAssetMaintenance.btnRALSend_Click();
        }

        private void btnRALClose_Click(object sender, EventArgs e)
        {
            _ctrRequestAssetMaintenance.btnRALClose_Click();            
        }

        //This is action to reload the DataGrid when the selected value of comboBox Category is changed
        private void cmbRAMAssetCategory_SelectedValueChanged(object sender, EventArgs e)
        {
            _ctrRequestAssetMaintenance.cmbRAMAssetCategory_SelectedValueChanged();
        }
        private void cmbRAMAssetID_SelectedValueChanged(object sender, EventArgs e)
        {
            _ctrRequestAssetMaintenance.cmbRAMAssetID_SelectedValueChanged();
        }

    }
}
